package com.ajie.service;

import com.ajie.entity.vo.RoleAuthority;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ajie.entity.SysRole;

import java.util.List;

/**
 * 角色表;(sys_role)表服务接口
 * @author: ajie
 * @date : 2024-7-7
 */
public interface SysRoleService extends IService<SysRole> {

    List<String> getPermissions(String roleId);

    boolean check(RoleAuthority authority);
}